/**
 *
 */
package gemini.basic.dao;

import gemini.basic.model.MonthlyPoint;

import java.util.List;




/**
 *
 */
public interface MonthlyPointDao {
	public MonthlyPoint saveOrUpdate(MonthlyPoint monthlyPoint, boolean flush) ;
	
	public MonthlyPoint getById(int id);
	
	public List<MonthlyPoint> getAllMonthlyPointByDistributorId(int id);
	
	public List<MonthlyPoint> getMonthlyPointByDistributorCodeAndYear(String code, int year);
}
